package com.yld.scott.ch07;

public class StringTest {
	
	public static void main(String[] args) {
		
		String str = " abcdefg";
		
		
		System.out.println(str.charAt(1));
		System.out.println(str.substring(1));
		System.out.println(str.substring(1,2));
		
		System.out.println(str.trim().length());
		
		
		String ids="11,12,13";
		
		String[] ss = ids.split(",");
		
		System.out.println(ss.length);
		
		
	}

}
